Skip to content

refactor: expose snapshot utilities in a public header - #932

Merged
wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:refactor/snapshot-util-public-header
Sep 13, 2026
Merged

wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:refactor/snapshot-util-public-header

Conversation

@zhjwpku

@zhjwpku zhjwpku commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Making SnapshotUtil public lets downstream integrations reuse snapshot traversal, time lookup, and schema resolution logic. Java impl already uses it outside the core library: Spark uses schemaFor, and Flink uses ancestorsBetween.
Exposing the C++ equivalent would support similar use cases without duplicating that logic.

@smaheshwar-pltr smaheshwar-pltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on this change! (I also wanted to do this actually - smaheshwar-pltr#4)

@wgtmac wgtmac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wgtmac
wgtmac merged commit 4e4e10a into apache:main Sep 13, 2026
18 checks passed
@zhjwpku
zhjwpku deleted the refactor/snapshot-util-public-header branch September 13, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants